package cn.zf233.xcloud.service;

import cn.zf233.xcloud.commom.R;
import cn.zf233.xcloud.entity.User;

/**
 * Created by zf233 on 2021/4/22
 */
public interface MessageService {

    R sendEmail(User user, String title, String contentOfPage, String url, Boolean isAssembleUrl);

    R sendSMS(String phoneNumber, String code);

    /*void sendMessageOfESInsertOrUpdateToRabbitMQ(File file);

    void sendMessageOfEsRemoveToRabbitMQ(File file);*/

}
